package com.atguigu.gmall.pms.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {
    //feign客户端远程访问时的日志级别：feign输出的日志级别为debug级别
    @Bean
    public Logger.Level level(){
        return Logger.Level.FULL;
    }
}
